/*
 * @Autor: lh
 * @Date: 2023-09-26 14:26:16
 * @LastEditors: lh
 * @LastEditTime: 2024-03-08 17:23:37
 * @Description:
 */
import { request } from "@/utils/service"

/** 查询用户违规信息 分页查询所有数据 */
export function userViolationPenaltiesSelectAll(data: any) {
  return request({
    url: `/userViolationPenalties/selectAll`,
    method: "post",
    data
  })
}

/** 通过主键查询单条数据 */
export function userViolationPenaltiesSelectOne(id: any) {
  return request({
    url: `/userViolationPenalties/selectOne/${id}`,
    method: "get"
  })
}
